<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script type="text/javascript" src="../assets/js/vue.js"></script>
    <link rel="stylesheet" href="../assets/css/index.css"/>
</head>
<body>
<h1>v-text</h1>
<hr>
<div id="app">
    <span>{{message}}</span> = <span v-text="message"></span>
    <hr>
    <span>{{messageHtml}}</span>
    <hr>
    <span v-html="messageHtml"></span>
</div>

<script>
    var app = new Vue({
        el: '#app',
        data: {
            message: 'hello Vue',
            messageHtml: '<h1>hello Vue</h1>'
        }
    })
</script>
</body>
</html>